<template>
  <el-cascader
    v-model="value"
    :props="{ multiple: true }"
    placeholder="请选择资产类型"
    size="mini"
    clearable
    :disabled="disabled"
    v-on:change="dailiChange"
    v-bind:options="options"
  ></el-cascader>
</template>
<script>
export default {
  name: "FormCascader",
  props: {
    value: {
      type: Array,
      default: []
    },
    options: {
      type: Array,
      default: []
    },
    disabled: {
      type: Boolean,
      default: false
    },
    type: {
      type: String,
      default: ""
    }
  },
  data() {
    return {};
  },
  methods: {
    dailiChange(e) {
      console.log(this.value);
      console.log("this.options========");
      console.log(this.options);
      this.$emit("input", e);
      //   this.$emit("input", this.options);
    }
  }
};
</script>
